package com.hub.dto.auth;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 用户角色参数
 *
 * @description:
 * @author hub
 * @create: 2020-05-15 18:21
 */
@Data
public class UserRoleParam {

    @NotNull(message = "参数不能为空")
    private Long userId;

    private List<Long> roleIds;
}
